<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="Keywords" content="{:C('c_keyword')}" />
        <meta name="Description" content="{:C('c_desc')}" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta name="aplus-xplug" content="NONE">
        <meta name="renderer" content="webkit" />
        <title>{:C('c_title')}</title>
        <link rel="shortcut icon" href="favicon.ico" />
        <link rel="icon" href="animated_favicon.gif" type="image/gif" />
        <link rel="stylesheet" type="text/css" href="__CSS__/home/goods.css" />
        <link rel="stylesheet" type="text/css" href="__CSS__/home/68ecshop_common.css" />
        <link rel="stylesheet" type="text/css" href="__CSS__/home/index.css" />
        <script src="__JS__/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
        <script src="__JS__/taodudu.lib.js" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript" src="__JS__/jquery.form.js"></script>
        <script type="text/javascript" src="__JS__/tips/toastr.min.js"></script>
        <script type="text/javascript" src="__JS__/layer/layer.js"></script>
        <script type="text/javascript" src="__JS__/jquery.layer.js"></script>
	<script type="text/javascript" src="__JS__/DataLazyLoad.js"></script>
        <style type="text/css">
            .recom_index{overflow: hidden;}
            .Notice{
            	width: 100%;
            	overflow: hidden;
            	min-width: 1210px;
            }
            .Notice img{
            	width: 1920px;
            	position: relative;
            	left: 50%;
            	margin-left: -960px;
            }
        </style>
    </head>
    <body style="cursor: auto;">
    	<!--<div class="Notice">
    		<img src="__IMG__/fangjia.jpg"/>
    	</div>-->
        <include file="Public/head_a" />
        <include file="Public/head_b" />
        <include file="Public/head_c" />
        <include file="Public/head_d" />
        <div class="box">
            <div class="w1090 index_Roll0">
                <img src="__IMG__/home/music138.png" />
                <ul class="index_Roll0_ul1">
                    <foreach item="v" name="orderNotice" key="k">
                        <li><img class="re_man" src="{$v['avatar']}" />最新的订单来自{$v['user_name']|hideStr=###,1,2},<?php echo ($k+1)* rand(2, 9) ?>秒前</li>
                    </foreach>
                </ul>
            </div>
        </div>
        <div class="box">
            <div class="w1090 over">
                <div class="index_activity">
                    <ul>
                        {:getAdver(9,0,0)}
                    </ul>
                </div>
                <div class="index_Notice">
                    <ul class="index_Notice_tab">
                        <li class="on">商城活动</li>
                        <li>商城公告</li>
                    </ul>
                    <div class="index_Notice_main">
                        <ul>
                            <foreach item='v' name='notice2'>
                                <li><a href="/Article/{$v['article_id']}" target="_blank"><span>{$v['title']|sub_str=###,0,16}</span></a></li>
                            </foreach>
                        </ul>
                        <ul>
                            <foreach item='v' name='notice'>
                                <li><a href="/Article/{$v['article_id']}" target="_blank"><span>{$v['title']|sub_str=###,0,16}</span></a></li>
                            </foreach>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            //tab切换
            $(".index_Notice_tab > li").click(function () {
                $(this).addClass("on").siblings().removeClass("on");
                $(".index_Notice_main > ul").eq($(this).index()).show().siblings().hide();
            })
        </script>
        <div class="box">
            <div class="box-main">
                <div class="recom_index w1090">
                    <h3 class="Recom_index_tittle com_index_tittle">
                        <b>今日爆款</b><span>/ 每天精选爆款好货</span>
<!--                        <a href="">更多</a>-->
                        <hr class="left_hr" />
                    </h3>
                    <div id="Recom" >
                        <div class="brands_btn">
                            <a class="prev"></a>
                            <a class="next"></a>
                        </div>
                        <ul class="Recom_index_roll com_index_roll">
                            <foreach name="pc_tj_Recommend" item="v">
                                    <li>
                                        <a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank">
                                            <div class="com_goods_align_table">
                                                <div class="com_goods_align_td">
                                                    <img src="__IMG__/grey.gif" data-img ="{$v['goods_thumb']}!250x250" isload="false">
                                                </div>
                                            </div>
                                            <h3>{$v['goods_title']|sub_str=###,0,22}</h3>
                                            <p><strong>{$v['goods_price']}</strong><span>￥{$v['goods_markprice']}</span><b><span>{$v['goods_hits']}</span>人已购买</b></p>
                                        </a>
                                    </li>
                            </foreach>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            $("#Recom").imgscroll({
                width: 1089,
                min_width: 1089,
                roll: "left",
                chil: $("#Recom > ul"),
                dian: false
            })
        </script>

        <div class="box">
            <div class="box-main w1090 over">
                <foreach item="v" name="tddLife" key='k'>
                    <div class="com_index_left ">
                        <h3 class="com_index_title">{$v['web_name']}</h3>

                        <ul class='com_index_main_left '>
                            <foreach item='n' name="v['webCode']" key='m'>
                                <li>
                                    <a href="{$n['code_url']}" target="_blank"><img src="{$n['code_image']}"></a>
                                </li>
                                <if condition="$m eq 0"></ul><ul class='com_index_main_right <if condition="$k eq 1">bor_right</if>'></if>
                            </foreach>
                        </ul>
                    </div>
                </foreach>

            </div>
        </div>
        <!-- 广告1开始 -->
        {:getAdver(2,931,0)}
        <!-- 广告1结束 -->
        <script type="text/javascript">
            //品牌logo操作
            $(".log_banner").imgscroll({
                width: 1091,
                min_width: 1091,
                dian: false
            })
            $(".log_banner_main > li").each(function () {
                $(this).find("a").eq(3).css("margin-right", "300px")
            })
        </script>

        <!-- 母婴专区开始 -->
        <div class="box">
            <div class="box-main">
                <div class="recom_index w1090">
                    <h3 class="Recom_index_tittle com_index_tittle">
                        <b>母婴专区</b><span>/ 每天精选爆款好货</span><a href="/Cate/tdd90">更多</a>
                        <hr class="left_hr" />
                    </h3>
                    <ul class="jingxuan Recom_index_roll com_index_roll">
                        <li class="Left_scroll picLb1">
                            <div class="banner_main">
                                {:getAdver(6,0,1,1)}
                            </div>
                        </li>
                        <script type="text/javascript">
                            $(".picLb1").imgscroll({
                                width: 262,
                                min_width: 262,
                                li: "a"
                            })
                        </script>
                        <foreach item="v" name="pc_my_Recommend">
                                <li>
                                    <a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank">
                                        <div class="com_goods_align_table">
                                            <div class="com_goods_align_td">
												<img src="__IMG__/grey.gif" data-img ="{$v['goods_thumb']}!250x250" isload="false">
                                            </div>
                                        </div>
                                        <h3>{$v['goods_title']|sub_str=###,0,22}</h3>
                                        <p><strong>{$v['goods_price']}</strong><span>￥{$v['goods_markprice']}</span><b><span>已售{$v['goods_hits']}件</span></b></p>
                                        <switch name="v.type">
                                            <case value="1"><b class="hot_color hot_color_1">{$v['str']}</b></case>
                                            <case value="2"><b class="hot_color hot_color_1">{$v['str']}</b></case>
                                        </switch>

                                    </a>
                                </li>
                        </foreach>
                    </ul>
                </div>
            </div>
        </div>
        <!-- 母婴专区结束 -->
        <!-- 广告2开始 -->
        {:getAdver(3,932,0)}
        <!-- 广告2结束 -->
        <!-- 吃货专区开始 -->
        <div class="box">
            <div class="box-main">
                <div class="recom_index w1090">
                    <h3 class="Recom_index_tittle com_index_tittle">
                        <b>吃货专区</b><span>/ 每天精选爆款好货</span><a href="/Cate/tdd236">更多</a>
                        <hr class="left_hr" />
                    </h3>
                    <ul class="jingxuan Recom_index_roll com_index_roll">
                        <li class="Left_scroll picLb2">
                            <div class="banner_main">
                                {:getAdver(7,0,1,1)}
                            </div>
                        </li>
                        <script type="text/javascript">
                            $(".picLb2").imgscroll({
                                width: 262,
                                min_width: 262,
                                li: "a"
                            })
                        </script>
                        <foreach item="v" name="pc_ch_Recommend">
                                <li>
                                    <a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank">
                                        <div class="com_goods_align_table">
                                            <div class="com_goods_align_td">
												<img src="__IMG__/grey.gif" data-img ="{$v['goods_thumb']}!250x250" isload="false">
                                            </div>
                                        </div>
                                        <h3>{$v['goods_title']|sub_str=###,0,22}</h3>
                                        <p><strong>{$v['goods_price']}</strong><span>￥{$v['goods_markprice']}</span><b><span>已售{$v['goods_hits']}件</span></b></p>
                                        <switch name="v.type">
                                            <case value="1"><b class="hot_color hot_color_1">{$v['str']}</b></case>
                                            <case value="2"><b class="hot_color hot_color_1">{$v['str']}</b></case>

                                        </switch>
                                    </a>
                                </li>
                        </foreach>
                    </ul>
                </div>
            </div>
        </div>
        <!-- 吃货专区结束 -->
        <!-- 广告3开始 -->
        {:getAdver(4,933,0)}
        <!-- 广告4结束 -->
        <!-- 美妆专区开始 -->
        <div class="box">
            <div class="box-main">
                <div class="recom_index w1090">
                    <h3 class="Recom_index_tittle com_index_tittle">
                        <b>美妆专区</b><span>/ 每天精选爆款好货</span><a href="/Cate/tdd464">更多</a>
                        <hr class="left_hr" />
                    </h3>
                    <ul class="jingxuan Recom_index_roll com_index_roll">
                        <li class="Left_scroll picLb3">
                            <div class="banner_main">
                                {:getAdver(8,0,1,1)}
                            </div>
                        </li>
                        <script type="text/javascript">
                            $(".picLb3").imgscroll({
                                width: 262,
                                min_width: 262,
                                li: "a"
                            })
                        </script>
                        <foreach item="v" name="pc_mz_Recommend">
                                <li>
                                    <a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank">
                                        <div class="com_goods_align_table">
                                            <div class="com_goods_align_td">
												<img src="__IMG__/grey.gif" data-img ="{$v['goods_thumb']}!250x250" isload="false">
                                            </div>
                                        </div>
                                        <h3>{$v['goods_title']|sub_str=###,0,22}</h3>
                                        <p><strong>{$v['goods_price']}</strong><span>￥{$v['goods_markprice']}</span><b><span>已售{$v['goods_hits']}件</span></b></p>
                                        <switch name="v.type">
                                            <case value="1"><b class="hot_color hot_color_1">{$v['str']}</b></case>
                                            <case value="2"><b class="hot_color hot_color_1">{$v['str']}</b></case>

                                        </switch>
                                    </a>
                                </li>
                        </foreach>
                    </ul>
                </div>
            </div>
        </div>
        <!-- 美妆专区结束 -->
        <!-- 广告4开始 -->
        {:getAdver(5,934,0)}
        <!-- 广告4结束 -->
        <!-- 猜你喜欢开始 -->
        <div class="box">
            <div class="box-main">
                <div class="recom_index w1090">
                    <h3 class="Recom_index_tittle com_index_tittle goods_index_tittle">
                        <span>猜你喜欢</span>
                        <hr />
                    </h3>
                    <ul class="goods_5 Recom_index_roll com_index_roll">
                        <foreach  name="like_goods" item="vo">
                            <li>
                                <a href="{:HOME_URL}/Goods/{$vo['goods_id']}" target="_blank">
                                    <div class="com_goods_align_table">
                                        <div class="com_goods_align_td">
											<img src="__IMG__/grey.gif" data-img ="{$vo['goods_thumb']}!250x250" isload="false">
                                        </div>
                                    </div>
                                    <h3 title="{$vo['goods_title']}">{$vo['goods_title']|sub_str=###,0,22}</h3>
                                    <p><strong>{$vo['goods_price']}</strong><span>￥{$vo['goods_markprice']}</span><b><span>立刻购买</span></b></p>
                                </a>
                            </li>
                        </foreach>
                    </ul>
                </div>
            </div>
        </div>
        <div class="floor_nav" style="display: none;">
            <ul>
                <li class=""><a href="javascpit:(0)" class="nav_two"><i></i><p>今日爆款</p></a></li>
                <li class=""><a href="javascpit:(0)" class="nav_five"><i></i><p>母婴专区</p></a></li>
                <li class=""><a href="javascpit:(0)" class="nav_six"><i></i><p>吃货专区</p></a></li>
                <li class=""><a href="javascpit:(0)" class="nav_four"><i></i><p>美妆专区</p></a></li>
                <li class=""><a href="javascpit:(0)" class="nav_seven"><i></i><p>猜你喜欢</p></a></li>
            </ul>
        </div>

        <include file="Public/cart" />
        <!--        E右侧购物车-->

        <div style="clear: both"></div>
        <div class="site-footer">
            <div class="footer-related">
                <include file="Public/bootom_a" />
                <include file="Public/bootom_b" />
                <include file="Public/bootom_c" />
            </div>
        </div>

        <script>
            $(function () {
                $('.goods-col').click(function () {
                    $('.pop-login,.pop-mask').show();
                })
            })
        </script>
    </body>
    <script type="text/javascript">
        $(window).scroll(function () {
            //侧导航浮动
            var offsetTop = $(window).scrollTop();
            var winheight = $(window).height();
            //跳转
            $(".floor_nav li").click(function () {
                $('html, body').stop().animate({
                    scrollTop: $(".recom_index").eq($(this).index()).offset().top
                }, 500)
            })
            //侧导航精准定位
            var objindex = -1;
            $(".recom_index").each(function () {
                if (offsetTop + winheight / 1.5 > $(this).offset().top) {
                    objindex++;
                }
            })
            if (objindex >= 0) {
                $(".floor_nav").show();
                $('.floor_nav li').eq(objindex).addClass("current").siblings().removeClass("current");
            } else {
                $(".floor_nav").hide();
            }
            //侧导航精准定位结束
        }) //滚动事件结束
    </script>
</html>
<script type="text/javascript">
    //分类显示隐藏
    $(".home-category").hover(function () {
        $(this).addClass("hover");
    }, function () {
        $(this).removeClass("hover");
    })
    $(".home-category .list").hover(function () {
        $(this).find(".categorys").show();
    }, function () {
        $(this).find(".categorys").hide();
    })
    //搜索项切换
    $('.search-type').hover(function () {
        $(this).css({
            "height": "auto",
            "overflow": "visible"
        });
    }, function () {
        $(this).css({
            "height": 32,
            "overflow": "hidden"
        });
    });
    $('.search-type li').click(function () {
        $(this).addClass('cur').siblings().removeClass('cur');
        $('#searchtype').val($(this).attr('num'));
    });

    </script>
</html>
<script type="text/javascript">

    //鼠标滑过样式
    $("#search-tips > div").hover(function () {
        $(this).attr("class", "search_t_div_2");
    }, function () {
        $(this).attr("class", "search_t_div_1");
    })
    //滚动上下
    autoMove();
</script>
